package part1.api.io.iotest;

import java.io.FileOutputStream;
import java.io.IOException;

public class FOSDemo {
    public static void main(String[] args) throws IOException {
//        FileOutputStream fos = new FileOutputStream("abc.txt");
//        fos.write(1);
//        fos.write(3);
//        System.out.println("写入完毕");
//        fos.close();

        FileOutputStream fos = new FileOutputStream("fot.txt");
//        fos.write(1);
//        fos.write(3);
        fos.write(128);
        System.out.println("写出完毕");
        fos.close();
    }
}
